package com.customer.service.customer;

import com.customer.model.Customer;
import com.customer.util.ResponseData;

/**
 * 2 * @Author: xy
 * 3 * @Date: 2021/10/19 下午 4:05:44
 */
public interface CustomerService {
    String smsSending(String phoneNumber);

    ResponseData cacheVerificationCode(String phoneNumber, String code);

    ResponseData login(String phoneNumber, String code);

//    ResponseData findAll();

    ResponseData findAllByPage(int page, int limit, String phoneNumber);

    ResponseData deleteCustomer(int id);


    ResponseData update(Customer customer);

    ResponseData updateShow(int id);
}
